package com.dev.utils.app;

import ohos.aafwk.content.Intent;
import ohos.utils.IntentConstants;

/**
 * 打开网络设置界面
 */
public class OpenNetUtils {

    public static Intent openNet() {
        Intent intent = new Intent();
        intent.setAction(IntentConstants.ACTION_WIRELESS_SETTINGS);
        return intent;
    }

    public static Intent openHome() {
        Intent intent = new Intent();
        intent.setAction(IntentConstants.ENTITY_HOME);
        return intent;
    }
}
